package io.finer.erp.jeecg.bas.entity;

import java.io.Serializable;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;

import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Description: 车间任务/订单
 * @Author: jeecg-boot
 * @Date:   2020-09-02
 * @Version: V1.0
 */
@Data
@TableName("zz_shoporder")
@ApiModel(value="zz_shoporder对象", description="车间任务/订单")
public class ZzShoporder implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ID_WORKER_STR)
    @ApiModelProperty(value = "主键")
    private java.lang.String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private java.lang.String sysOrgCode;
	/**车间*/
    @Excel(name = "车间", width = 15)
    @ApiModelProperty(value = "车间")
    private java.lang.String woWorkshop;
	/**产线*/
    @Excel(name = "产线", width = 15)
    @ApiModelProperty(value = "产线")
    private java.lang.String woWorkcenter;
	/**车间任务编码*/
    @Excel(name = "车间任务编码", width = 15)
    @ApiModelProperty(value = "车间任务编码")
    private java.lang.String woCode;
	/**产品批次*/
    @Excel(name = "产品批次", width = 15)
    @ApiModelProperty(value = "产品批次")
    private java.lang.String woPartcode;
	/**产品名称*/
    @Excel(name = "产品名称", width = 15)
    @ApiModelProperty(value = "产品名称")
    private java.lang.String woPartname;
	/**任务数量*/
    @Excel(name = "任务数量", width = 15)
    @ApiModelProperty(value = "任务数量")
    private java.lang.Integer woQuantity;
	/**客户*/
    @Excel(name = "客户", width = 15)
    @ApiModelProperty(value = "客户")
    private java.lang.String woUnit;
	/**车间任务类型*/
    @Excel(name = "车间任务类型", width = 15)
    @ApiModelProperty(value = "车间任务类型")
    @Dict(dicCode = "cjwork")
    private java.lang.String woType;
	/**计划开始时间*/
    @Excel(name = "计划开始时间", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "计划开始时间")
    private java.util.Date woPlanstarttime;
	/**计划完工时间*/
    @Excel(name = "计划完工时间", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "计划完工时间")
    private java.util.Date woPlanendtime;
	/**车间订单状态*/
    @Excel(name = "车间订单状态", width = 15)
    @ApiModelProperty(value = "车间订单状态")
    @Dict(dicCode = "cjstatus")
    private java.lang.Integer woStatus;
	/**优先级*/
    @Excel(name = "优先级", width = 15)
    @ApiModelProperty(value = "优先级")
    @Dict(dicCode = "cjplanyx")
    private java.lang.Integer woPriority;
	/**需求交货时间*/
    @Excel(name = "需求交货时间", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "需求交货时间")
    private java.util.Date woDeliverytime;
	/**客户化文件*/
    @Excel(name = "客户化文件", width = 15)
    @ApiModelProperty(value = "客户化文件")
    private java.lang.String woCustomerfile;
	/**商城订单号*/
    @Excel(name = "商城订单号", width = 15)
    @ApiModelProperty(value = "商城订单号")
    private java.lang.String orderNo;
	/**任务名称*/
    @Excel(name = "任务名称", width = 15)
    @ApiModelProperty(value = "任务名称")
    private java.lang.String orderName;
    /**优先级*/
    @Excel(name = "是否已经推送", width = 15)
    @ApiModelProperty(value = "是否已经推送")
    private java.lang.Integer isPush;
    /**规格*/
    @Excel(name = "规格", width = 15)
    @ApiModelProperty(value = "规格")
    private java.lang.String specs;
    /**底板纸供应商*/
    @Excel(name = "底板纸供应商", width = 15)
    @ApiModelProperty(value = "底板纸供应商")
    private String paperSupplier;
    /**胶供应商*/
    @Excel(name = "胶供应商", width = 15)
    @ApiModelProperty(value = "胶供应商")
    private String glueSupplier;
    /**面纸供应商*/
    @Excel(name = "面纸供应商", width = 15)
    @ApiModelProperty(value = "面纸供应商")
    private String facialSupplier;
    /**客户名称*/
    @Excel(name = "客户名称", width = 15)
    @ApiModelProperty(value = "客户名称")
    private String customerName;
    /**配方*/
    @Excel(name = "配方", width = 15)
    @ApiModelProperty(value = "配方")
    @Dict(dictTable = "bas_product_formula", dicText = "pf_name", dicCode = "id")
    private String formulaId;
    /**备注*/
    @Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private String remark;
    /**工序*/
    @Excel(name = "工序", width = 15)
    @ApiModelProperty(value = "工序")
    @Dict(dictTable = "zz_device_type", dicText = "device_tpye_name", dicCode = "id")
    private String processId;
    /**产品分类ID*/
    @Excel(name = "产品分类ID", width = 15)
    @ApiModelProperty(value = "产品分类ID")
    @Dict(dictTable = "bas_material_category", dicText = "code", dicCode = "id")
    private String categoryId;
    /**是否删除*/
    @ApiModelProperty(value = "是否删除")
    @TableLogic
    private String delFlag;
    /**父级id*/
    @ApiModelProperty(value = "父级id")
    private String parentId;
    /**销售订单明细id*/
    @ApiModelProperty(value = "销售订单明细id")
    private String orderProdect;
    /**胶水*/
    @Excel(name = "胶水", width = 15)
    @ApiModelProperty(value = "胶水")
    private String glue;
}
